package com.bh.order.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.core.domain.BhtmsBaseEntityNoCode;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 出入库记录对象 jc_inoroutrecord
 *
 * @author slx
 * @date 2023-05-30
 */
@EqualsAndHashCode(callSuper = true)
@TableName("jc_inoroutrecord")
@Data
public class JcInOrOutRecord extends BhtmsBaseEntityNoCode {
    


    private Integer number;

    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;


    private Integer type;


    private BigDecimal volume;


    private BigDecimal weight;


    private Long jcLedId;


    private Long jcOrderId;


    private Long jcOrganizationId;


    private Long jcZoneStoreroomId;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("description", getDescription())
               
                .append("modifyName", getModifyName())
                .append("modifyTime", getModifyTime())
                .append("name", getName())
                .append("status", getStatus())
                .append("number", getNumber())
                .append("time", getTime())
                .append("type", getType())
                .append("volume", getVolume())
                .append("weight", getWeight())
                .append("jcLedId", getJcLedId())
                .append("jcOrderId", getJcOrderId())
                .append("jcOrganizationId", getJcOrganizationId())
                .append("jcZoneStoreroomId", getJcZoneStoreroomId())
                .toString();
    }
}
